  <?php
		$result ="SELECT * FROM tt_familia ";
		$res = $mysqli->query($result);
		if ($res) {
		while($row = $res->fetch_assoc()) {
		?>
		<option value=<?php echo ( $row["FamilyID"]) ?> ><?php echo ($row["FamilyTxt"])  ?></option>
		<?php 	}
		$res->close();
		$mysqli->check_result();
		}  
?>